package com.dao;

import com.entity.FormIdInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2019/2/18 0018.
 */
public interface FromIdDao {

    //查openID
    String findOpenId(@Param("userId") String userId);
    //新增fromId
    int insertFormId(@Param("userId") String userId, @Param("formId") String formId, @Param("startTime") String startTime, @Param("endTime") String endTime);
    //查询FOrmId
    List<FormIdInfo> selectOhterFormId(@Param("userId") String userId);
    //修改FormId
    int updateFormId(@Param("id") Integer id);

}
